package edu.hubu.talentmanagementsystem.model.ext;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import edu.hubu.talentmanagementsystem.model.Model;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author moonlan
 * @since 2021-03-13
 */
@TableName("staff_chat_img")
public class StaffChatImg extends Model<StaffChatImg> implements Serializable {


    /**
     * 聊天图片ID
     */
    @TableId(value = "staff_chat_img_id", type = IdType.AUTO)
    private Integer staffChatImgId;

    @TableField("resource_img_id")
    private Integer resourceImgId;

    @TableField("chat_id")
    private Integer chatId;

    public Integer getStaffChatImgId() {
        return staffChatImgId;
    }

    public StaffChatImg setStaffChatImgId(Integer staffChatImgId) {
        this.staffChatImgId = staffChatImgId;
        return this;
    }

    public Integer getResourceImgId() {
        return resourceImgId;
    }

    public StaffChatImg setResourceImgId(Integer resourceImgId) {
        this.resourceImgId = resourceImgId;
        return this;
    }

    public Integer getChatId() {
        return chatId;
    }

    public StaffChatImg setChatId(Integer chatId) {
        this.chatId = chatId;
        return this;
    }

    @Override
    public String toString() {
        return "StaffChatImg{" +
                "staffChatImgId=" + staffChatImgId +
                ", resourceImgId=" + resourceImgId +
                ", chatId=" + chatId +
                "}";
    }
}
